import axios from '@/libs/api.request'

// 陪诊师订单列表 报价/一口价
export const findAccompanyingOrderList = (data) => {
  return axios.request({
    url: '/api/uc/mobile/orderGoodsService/findAccompanyingOrderList',
    method: 'post',
    data: data
  })
}
// 陪诊师任务查询（7天内）
export const selectDayList = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/selectDayList',
    method: 'post',
    data: data
  })
}
// 陪诊师保存个人简介
export const updateBriefIntroduction = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/updateBriefIntroduction',
    method: 'post',
    data: data
  })
}
// 查询陪诊师认证信息
export const getQualification = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/getQualification',
    method: 'post',
    data: data
  })
}
// 陪诊师认证
export const saveAccompanyingPhysician = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/saveAccompanyingPhysician',
    method: 'post',
    data: data
  })
}
// 查询陪诊师个人信息
export const selectAccompanyingPhysician = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/selectAccompanyingPhysician',
    method: 'post',
    data: data
  })
}
// 查询陪诊端已开通服务的医院和服务
export const findHospitalServiceList = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/findHospitalServiceList',
    method: 'post',
    data: data
  })
}
// 陪诊端添加/修改服务
export const updateAccompanyingPhysicianGive = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/updateAccompanyingPhysicianGive',
    method: 'post',
    data: data
  })
}
// 陪诊端添加暂停接单
export const insertAccompanyingPhysicianCease = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/insertAccompanyingPhysicianCease',
    method: 'post',
    data: data
  })
}
// 陪诊端取消暂停接单
export const updateAccompanyingPhysicianCease = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/updateAccompanyingPhysicianCease',
    method: 'post',
    data: data
  })
}
// 陪诊端查询陪诊师停止接单列表
export const selectAccompanyingPhysicianCeaseList = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/selectAccompanyingPhysicianCeaseList',
    method: 'post',
    data: data
  })
}
// 查询订单模式
export const getTypeAccompanyingPhysician = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/getTypeAccompanyingPhysician',
    method: 'post',
    data: data
  })
}
// 修改订单模式
export const updateTypeAccompanyingPhysician = (data) => {
  return axios.request({
    url: '/api/uc/mobile/accompanyingPhysicianService/updateTypeAccompanyingPhysician',
    method: 'post',
    data: data
  })
}
// 查看订单评价
export const getOrderEvaluation = (data) => {
  return axios.request({
    url: '/api/uc/mobile/orderGoodsService/getOrderEvaluation',
    method: 'post',
    data: data
  })
}
